<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Collect extends Model
{
    use HasFactory;
    protected $table='collect';
    protected $guarded=[];

    public function products()
    {
        return $this->hasOne(Products::class,'id','products_id');
    }
}
